<%--
  Created by IntelliJ IDEA.
  User: 86135
  Date: 2021-12-13
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <%@ include file="/page/menu/head.jsp" %>
</head>
<body>
    <div id="header">
        <span class="wel_word">请进行登录</span>
        <div>
            <a href="index.jsp">返回首页</a>
        </div>
    </div>
    <div id="main">
        <div style="text-align: center">
            <a style="margin: 200px" href="page/user/register.jsp">注册</a>
            <div class="msg_cont">
                <b></b>
                <span class="errorMsg">
                    ${ empty requestScope.msg ? "请输入用户名和密码":requestScope.msg }
                </span>
            </div>
            <form method="post" action="UserServlet">
                <input type="hidden" name="action" value="login"/>
                <label>用户名：</label>
                <input type="text" placeholder="用户名" name="username"
                       value="${requestScope.username}"/>
                <br><br>
                <label>密码：</label>
                <input type="text" placeholder="密码" name="password"/>
                <br><br>
                <input type="submit" value="登录"/>

            </form>
        </div>
    </div>
</body>
</html>
